package com.itheima.loop;

public class WhileDemo1 {
    public static void main(String[] args) {
        double Height = 8848860;
        double hd = 0.1;
        int count = 0;
        while (hd < Height){
            hd *= 2;
            count ++;
        }
        System.out.println("需要折叠"+ count +"次");
        System.out.println("厚度为"+ hd +"毫米");
    }
}
